import request from '@/utils/request_ry.js'

// 查询车辆救援服务监管列表
export function listJyServiceSupervise(query) {
  return request({
    url: '/jy/jyServiceSupervise/list',
    method: 'get',
    params: query
  })
}

// 查询车辆救援服务监管详细
export function getJyServiceSupervise(id) {
  return request({
    url: '/jy/jyServiceSupervise/' + id,
    method: 'get'
  })
}

// 新增车辆救援服务监管
export function addJyServiceSupervise(data) {
  return request({
    url: '/jy/jyServiceSupervise',
    method: 'post',
    data: data,
	loading: true
  })
}

// 修改车辆救援服务监管
export function updateJyServiceSupervise(data) {
  return request({
    url: '/jy/jyServiceSupervise',
    method: 'put',
    data: data,
	loading: true
  })
}

// 删除车辆救援服务监管
export function delJyServiceSupervise(id) {
  return request({
    url: '/jy/jyServiceSupervise/' + id,
    method: 'delete'
  })
}
